home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>2.5.  Standalone Scripts</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-concepts-script-fu.html" title="2.  Using Script-Fu Scripts" />
- <link rel="prev" href="ch12s02s04.html" title="2.4.  Different Kinds Of Script-Fus" />
- <link rel="next" href="ch12s02s06.html" title="2.6.  Image-Dependent Scripts" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">2.5. 
- <span lang="en" xml:lang="en">Standalone Scripts</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="ch12s02s04.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">2. 
- <span lang="en" xml:lang="en">Using Script-Fu Scripts</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="ch12s02s06.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="standalone-script-fu"></a>2.5. 
- <span lang="en" xml:lang="en">Standalone Scripts</span>
- </h3>
- </div>
- </div>
- </div>
- <a id="id2615879" class="indexterm"></a>
- <a id="id2615893" class="indexterm"></a>
- <p>
- We will not try to describe every script in depth. Most Script-Fus are
- very easy to understand and use. At the time of this writing, the
- following types are installed by default:
- </p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>Patterns</p>
- </li>
- <li>
- <p>Web page themes</p>
- </li>
- <li>
- <p>Logos</p>
- </li>
- <li>
- <p>Buttons</p>
- </li>
- <li>
- <p>Misc.</p>
- </li>
- </ul>
- </div>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Patterns</span>
- </dt>
- <dd>
- <p>
- You will find all kinds of pattern-generating scripts here.
- Generally, they are quite useful because you can add many
- arguments to your own patterns.
- </p>
- <p>
- We'll take a look at the Land script. In this script you have to
- set the image/pattern size, and specify what levels of random to
- use for your land creation. The colors used to generate the land
- map are taken from the currently selected gradient in the gradient
- editor. You must also supply values for the level of detail, land
- and sea height/depth and the scale. Scale refers to the scale of
- your map, just as in an ordinary road map, 1:10 will be typed as
- 10.
- </p>
- </dd>
- <dt>
- <span class="term">Web Page Themes</span>
- </dt>
- <dd>
- <p>
- Here is clearly a practical use for scripts. By creating a script
- for making custom text, logos, buttons arrows, etc., for your web
- site, you will give them all the same style and shape. You will
- also be saving a lot of time, because you don't have to create
- every logo, text or button by hand.
- </p>
- <p>
- You will find the GIMP.org theme under the Web page theme submenu.
- If you want to create your own theme, this script will serve as an
- excellent template that you can modify to create a theme for your
- web site.
- </p>
- <p>
- Most of the scripts are quite self-explanatory, but here are some
- hints:
- </p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- Leave all strange characters like ' and " intact.
- </p>
- </li>
- <li>
- <p>
- Make sure that the pattern specified in the script exists.
- </p>
- </li>
- <li>
- <p>
- Padding refers to the amount of space around your text.
- </p>
- </li>
- <li>
- <p>
- A high value for bevel width gives the illusion of a higher
- button.
- </p>
- </li>
- <li>
- <p>
- If you type TRUE for "Press", the button will look pushed
- down.
- </p>
- </li>
- <li>
- <p>
- Choose transparency if you don't want a solid background. If
- you choose a solid background, make sure it is the same color
- as the web page background.
- </p>
- </li>
- </ul>
- </div>
- </dd>
- <dt>
- <span class="term">Logos</span>
- </dt>
- <dd>
- <a id="id2616117" class="indexterm"></a>
- <a id="id2616131" class="indexterm"></a>
- <p>
- Here you will find all kinds of logo-generating scripts. This is
- nice, but use it with care, as people might recognize your logo as
- being made by a known GIMP script. You should rather regard it as
- a base that you can modify to fit your needs. The dialog for
- making a logo is more or less the same for all such scripts:
- </p>
- <div class="orderedlist">
- <ol type="1">
- <li>
- <p>
- In the Text String field, type your logo name, like
- Frozenriver.
- </p>
- </li>
- <li>
- <p>
- In the Font Size text field, type the size of your logo in
- pixels.
- </p>
- </li>
- <li>
- <p>
- In the Font text field, type the name of the font that you
- want to use for your logo.
- </p>
- </li>
- <li>
- <p>
- To choose the color of your logo, just click on the color
- button. This brings up a color dialog.
- </p>
- </li>
- <li>
- <p>
- If you look at the current command field, you can watch the
- script run.
- </p>
- </li>
- </ol>
- </div>
- </dd>
- <dt>
- <span class="term">Make Buttons</span>
- </dt>
- <dd>
- <a id="id2616231" class="indexterm"></a>
- <a id="id2616245" class="indexterm"></a>
- <p>
- Under this headline you'll find two scripts that makes rectangular
- beveled buttons, with or without round corners (Round Button or
- Simple Beveled Button). They have a dozen parameters or so, and
- most of them are similar to those in the logo scripts. You can
- experiment with different settings to come up with a button you
- like.
- </p>
- </dd>
- <dt>
- <span class="term">Misc.</span>
- </dt>
- <dd>
- <p>
- Under Misc. you'll find scripts that can be quite useful, but
- aren't suitable for the other submenus. An example is the Sphere
- script. You will have to set the radius in pixels to determine the
- sphere size. The lighting angle is where at the sphere you point
- the spotlight. This value also has an impact on the sphere shadow.
- If you don't want a shadow, you just have remove the tick
- on the "shadow" checkbox. The last thing you have to select is
- background color, and the color of your sphere.
- </p>
- </dd>
- </dl>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="ch12s02s04.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-concepts-script-fu.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="ch12s02s06.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="ch12s02s04.html">2.4. 
- <span lang="en" xml:lang="en">Different Kinds Of Script-Fus</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="ch12s02s06.html">2.6. 
- <span lang="en" xml:lang="en">Image-Dependent Scripts</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-